package com.mpyy.service.purchase;

import com.mpyy.dao.purchase.SearchProBatchNumDaoInter;
import com.mpyy.pojo.PurchaseStockDesc;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @version 1.0
 * @Descoription SearchProBatchNumServiceImpl
 * @Author CG
 * @date 2022-03-28
 */
@Service
public class SearchProBatchNumServiceImpl implements SearchProBatchNumServiceInter {
    @Autowired
    private SearchProBatchNumDaoInter batchNumDaoInter ;

    @Override
    public PurchaseStockDesc searchProBatchNum(String proId, String purStoDate) {
        return batchNumDaoInter.searchProBatchNum(proId,purStoDate);
    }

    @Override
    public List<PurchaseStockDesc> searchPurchaseHistory(PurchaseStockDesc purchaseStockDesc) {
        return batchNumDaoInter.searchPurchaseHistory(purchaseStockDesc);
    }
}
